package com.oscar.dao;

import java.util.ArrayList;

import com.oscar.dto.CheckInfoTable;
import com.oscar.nail.WCFNail;


public class CheckInfoTableDAO {

	WCFNail nailservice = new WCFNail();
	public CheckInfoTableDAO() {
	}
	public ArrayList<CheckInfoTable> getAllChekcTableInfoWithTime(final String time, final String idStore)
	{
		return nailservice.getAllCheckInfoWithTime(new ArrayList<String>(){{
			add(time);
			add(idStore);
		}});
	}
	public ArrayList<CheckInfoTable> getAllChekInfoWithEmployee(final int idEmployee, final String datestart, final String dateend, final String idStore)
	{
		return nailservice.getAllCheckInfoWithEmployee(new ArrayList<String>(){{
			add(datestart);
			add(dateend);
			add(Integer.toString(idEmployee));
			add(idStore);
		}});
	}

}
